import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import { RouterProvider } from 'react-router-dom'
import router from '@/router'
import './theme.css'

// redux
import { Provider } from 'react-redux';
import store from '@/store';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  // 不使用严格模式
  // <React.StrictMode>
  //   <App />
  // </React.StrictMode>
  <Provider store={store}>
    <RouterProvider router={router} />
  </Provider>
);

